﻿using SqlSugar;
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using GKQC.DbHelper.ViewModels;

namespace GKQC.DbHelper.DbModels
{
	/// <summary>
	/// 不良记录
	/// </summary>
	[SugarTable("t_wrk_bad")]
	public class WorkshopBadModel
	{
		public WorkshopBadModel()
        {
			this.Reason = string.Empty;
			this.Remark = string.Empty;
        }

		/// <summary>
		/// 流水号
		/// </summary>		
		[SugarColumn(IsPrimaryKey = true)] //是主键
		public long Id { get; set; }
		/// <summary>
		/// 单头Id
		/// </summary>		
		public long HeadId { get; set; }
		/// <summary>
		/// 不良品数
		/// </summary>		
		public double BadQty { get; set; }
		/// <summary>
		/// 不良原因
		/// </summary>		
		public string Reason { get; set; }
		/// <summary>
		/// 备注
		/// </summary>		
		public string Remark { get; set; }

	}
}

